Pelecard\Transaction A

Total Complexity 70
Dependencies 6
Dependents 3
Total lines 506
Lines of code 241
Logical lines of code 116
Comment lines 175
Methods 41
Properties 3

Methods 41

Method Rating Maintainability Complexity Lines of code
set_data()
A
47 12 36
set_meta_data()
S
59 5 15
get_transaction()
S
74 3 4
get_order_id()
S
66 3 8
set_json_data()
S
64 3 10
save()
S
65 3 9
__construct()
S
69 2 7
get_unique_key()
S
69 2 7
flatten()
S
64 2 10
exists()
S
69 2 6
get_card_type()
S
68 2 7
is_token_valid()
S
78 2 3
get_token_object()
S
63 1 11
get_card_number()
S
79 1 3
get_card_brand()
S
78 1 3
get_expiry_year()
S
74 1 4
get_card_company()
S
78 1 3
get_card_type_by_brand()
S
65 1 9
get_card_type_by_company()
S
63 1 10
get_card_expiry()
S
79 1 3
get_expiry_month()
S
79 1 3
is_success()
S
80 1 3
get_status_code()
S
79 1 3
is_timeout()
S
79 1 3
get_last4()
S
79 1 3
get_user_id()
S
78 1 3
get_debit_approve_number()
S
79 1 3
get_token()
S
79 1 3
get_timeout_redirect_url()
S
79 1 3
set_order_id()
S
75 1 4
get_order()
S
76 1 4
validate()
S
70 1 6
get_error_message()
S
79 1 3
set_error_message()
S
76 1 4
set_status_code()
S
76 1 4
needs_validation()
S
79 1 3
set_validate()
S
77 1 4
is_uuid()
S
75 1 4
set_id()
S
77 1 4
get_id()
S
82 1 3
is_3ds_failure()
S
79 1 3